package com.xianniu.ltc.model.entity;

import java.io.Serializable;
import lombok.Data;
import java.util.Date;

/**
 * @description 实体对象字段表
 * @author wrj
 * @date 2022-01-18
 */
@Data
public class TMetaFieldDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * field_id
     */
    private String fieldId;

    /**
     * belong_entity
     */
    private String belongEntity;

    /**
     * field_name
     */
    private String fieldName;

    /**
     * physical_name
     */
    private String physicalName;

    /**
     * for description
     */
    private String fieldLabel;

    /**
     * 显示类型 (详见 displaytype)
     */
    private String displayType;

    /**
     * nullable
     */
    private String nullable;

    /**
     * creatable
     */
    private String creatable;

    /**
     * updatable
     */
    private String updatable;

    /**
     * repeatable
     */
    private String repeatable;

    /**
     * queryable
     */
    private String queryable;

    /**
     * 此值不影响数据库默认值
     */
    private String defaultValue;

    /**
     * max_length
     */
    private Integer maxLength;

    /**
     * ref_entity
     */
    private String refEntity;

    /**
     * cascade
     */
    private String cascade;

    /**
     * comments
     */
    private String comments;

    /**
     * 更多扩展配置 (json map)
     */
    private String extConfig;

    /**
     * 修改时间
     */
    private Date modifiedOn;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdOn;

    /**
     * 修改人
     */
    private String modifiedBy;

    /**
     * 租户标识
     */
    private String tenantCode;

    public TMetaFieldDTO() {
    }

}
